-
Notifications
You must be signed in to change notification settings - Fork 22
[FIX] logger tags and lsp message delimiter #762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
||
|
|
||
| def extract_tags(msg: str) -> tuple[Optional[LspMessageTags], str]: | ||
| def extract_tags(msg: str) -> tuple[LspMessageTags, str]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was optimized by codeflash extension
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Bug fix, Enhancement
Description
Standardize LSP message delimiter handling
Refactor tag extraction and defaults
Align logging flow with LSP enablement
Minor cleanup in optimizer logs
Diagram Walkthrough
File Walkthrough
lsp_logger.py
Refactor LSP-aware logging and tag parsingcodeflash/lsp/lsp_logger.py
message_delimiter.extract_tagsrobust, return default tags.lsp_message.py
Centralize and apply LSP message delimitercodeflash/lsp/lsp_message.py
message_delimiter.function_optimizer.py
Trim redundant profiling log outputcodeflash/optimization/function_optimizer.py